<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>

<fmt:setBundle basename="ApplicationMessage" />
<fmt:setLocale value="zh_CN" />

<!DOCTYPE html>
<html lang="zh-CN">
<head>

  <%@ include file="/WEB-INF/include/meta.jsp"%>
  <%@ include file="/WEB-INF/include/css.jsp"%>
  
</head>

<body>

  <%@ include file="/WEB-INF/include/header.jsp"%>
  <%@ include file="/WEB-INF/include/menu.jsp"%>
  
  <div class="container main-content">
  
    <div class="panel panel-default x-panel x-panel-layout">
    
      <div class="panel-heading">
        <ol class="breadcrumb clearfix">
          <li><a href="${ctx.host}/user">用户管理</a></li>
          <li class="active">用户管理</li>
          <li class="no-before pull-right" style="min-width: 65px;">
            <a onclick="window.history.back();"><i class="glyphicon glyphicon-arrow-left"></i>&nbsp;&nbsp;返回</a>
          </li>
        </ol>
      </div>
      
      <div class="panel-body">
      
        <div class="col-xs-2 x-panel-layout-left no-horizontal-padding">
          <%@ include file="/WEB-INF/include/submenu.jsp"%>
        </div>
        
        <div class="col-xs-10 x-panel-layout-right">
          
          <div class="x-breadcrumb-wrapper">
            <div class="x-breadcrumb clearfix">
              <h2><i class="glyphicon glyphicon-fire" title="详情"></i>&nbsp;&nbsp;<span>课程吐槽&nbsp;-&nbsp;详情</span></h2>
            </div>
          </div>
          
          <div class="x-breadcrumb-wrapper" style="margin-top:20px;">
          
            <div class="x-breadcrumb yellow clearfix">
              <h2>
                <span>基本信息</span>
              </h2>
            </div>
          </div> 
          
          <div class="form-horizontal" style="margin-bottom:20px;">
            
            <div class="form-group">
              <label class="col-xs-2 control-label">手机号码：</label>
              <div class="col-xs-4 pull-left"><p class="form-control-static">${feedback.courseRound.student.mobile}</p></div>
              <label class="col-xs-2 control-label">姓名：</label>
              <div class="col-xs-4 pull-left"><p class="form-control-static">${feedback.courseRound.student.name}</div>
            </div>
            
            <div class="form-group">
              <label class="col-xs-2 control-label">门店：</label>
              <div class="col-xs-4 pull-left"><p class="form-control-static">${feedback.courseRound.site.name}</p></div>
              <label class="col-xs-2 control-label">主教练：</label>
              <div class="col-xs-4 pull-left"><p class="form-control-static">${feedback.courseRound.coach.name}</div>
            </div>
            
            <div class="form-group">
              <label class="col-xs-2 control-label">反馈时间：</label>
              <div class="col-xs-4 pull-left"><p class="form-control-static"><fmt:formatDate value="${feedback.createTime}" pattern="yyyy-MM-dd HH:mm:ss"/></div>
             <label class="col-xs-2 control-label">状态：</label>
              <div class="col-xs-4 pull-left"><p class="form-control-static"><span class="label label-${empty feedback.handleTime ? 'default' : 'success'}">${empty feedback.handleTime ? '待处理' : '已处理'}</span></div>
            </div>
            
            <div class="form-group">
              <label class="col-xs-2 control-label">反馈内容：</label>
              <div class="col-xs-10 pull-left"><p class="form-control-static">${feedback.description}</div>
            </div>
            
            <c:if test="${not empty feedback.handleTime}">
              <div class="form-group">
                <label class="col-xs-2 control-label">处理时间：</label>
                <div class="col-xs-4 pull-left"><p class="form-control-static"><fmt:formatDate value="${feedback.handleTime}" pattern="yyyy-MM-dd HH:mm:ss"/></div>
                
                <label class="col-xs-2 control-label">处理人员备注：</label>
                <div class="col-xs-4 pull-left"><p class="form-control-static">${feedback.remark}</div>
              </div>
            </c:if>
          </div>
        </div>
      </div>
    </div>
  </div>
  
  <%@ include file="/WEB-INF/include/footer.jsp"%>
  <%@ include file="/WEB-INF/include/script.jsp"%>
</body>

</html>